package com.bbva.kyfb.kyfbdtofo.fachada.interfaces.v01;

import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import org.springframework.web.bind.annotation.RequestBody;

import com.bbva.jee.arq.spring.core.httpService.HttpClient;
import com.bbva.kyfb.kyfbdto.firmas.bo.InfoAssistantDto;
import com.bbva.kyfb.kyfbdtofo.FicheroRequest;

@HttpClient(serviceName="servicioEjecucionHttp")
@Path("/v01/service/")
public interface ExecuteServiceV01 {
	
	@POST
    @Path("/execution/file/")
    @Produces( { MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON, MediaType.TEXT_PLAIN })
	public InfoAssistantDto executeFile(@RequestBody FicheroRequest aFicheroRequest);
	
	@POST
    @Path("/execution/transfer/")
    @Produces( { MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON, MediaType.TEXT_PLAIN })
	public InfoAssistantDto executeTransfer(@RequestBody FicheroRequest aFicheroRequest);	
}